Object and Schema Versioning and Restructuring in Databases 1
نویسنده
چکیده
Evolution of persistent data is a critical need for a large class of software systems, like CASE or CAD environments. So, it is quite natural for data management needs to change and for possible drawbacks in the logical database design to be highlighted. In order to satisfy these needs, the data schema must be able to change and the database must be restructured to meet the newly adopted schema. At the same time, existing application programs may also need to be modified to meet the new database structure. In some areas, like engineering of databases or engineering of software, the long-term design process increases the need for schema changes and schema versioning. For these reasons, support for full schema evolution is a required facility in any Database Management System (DBMS). Full schema evolution concerns schema changes, existing data and programs adaptation to the changes and schema versioning. In this paper, we deal with the impact of schema changes on persistent data and on application programs that manipulate these data. We consider both “local” schema changes, like attribute deletion or domain modification, and more complex changes, like schema integration [12, 6]. Three strategies may be followed to manage the side effects of schema change on existing data and programs. The first one, called immediate migration consists in converting all affected data instances eagerly after any schema change. The second strategy called deferred migration [8] delays the data conversion till the end of all the active transactions. These two strategies are both inappropriate for some fields, like software engineering or CAD/CAM, where transactions may be long-term transactions [9]. The third strategy, called opportunistic migration allows the use of a database through more than one schema version. Instances of data are progressively made conform to the modified schema. It means that only newly activated transactions are sensitive to the schema changes. From this quick analysis of migration strategies, it comes that at least two versions of a data schema are needed : a version of the schema before modification and a version after modification. In the immediate or the deferred migration strategies, the “schema before” does not persist after the migration process while it does in the opportunistic strategy. Our investigations do not favour any strategy. We attempt to identify and to define as formally as possible mapping functions from the data schema before being modified into the data schema after the change performance. Mapping functions are defined as schema homomorphisms with a fixed static semantics. Different procedural interpretations of these functions can be provided to enable their use in any migration strategy. Indeed, the same kind of concepts and mechanisms are needed to adapt existing data, and sometimes existing application programs, to schema changes. The approach that is described hereafter is based on the identification and the management of relationships between versions of a schema. These relationships are used to convert data or to adapt programs by rewriting them or using ad-hoc polymorphism[7]. We discuss the procedural issues of our approach including multi-faceted representations of data item and adhoc polymorphism with type coercion to propagate the side effects of a change in a data schema
منابع مشابه
An Access Mechanism for a Temporal Versioned Object-Oriented Database
Object-Oriented database systems (OODBMS) are well known for modeling complex and dynamic application domains. Typically OODBMS have to handle large and complex structured objects whose values and structures can change frequently. Consequently there is a high demand for systems which support temporal and versioning features in both objects (or database population) and schema. This paper present...
متن کاملA formal model for temporal schema versioning in object-oriented databases
The problem of supporting temporal schema versioning has been extensively studied in the context of the relational model. In the object-oriented environment, previous works were devoted to the study of the different aspects of schema evolution or (non-temporal) versioning in branching models, due to the traditional origination of the object-oriented model from CAD/CAM and CIM. Nowadays, the com...
متن کاملA Semantic Approach for Schema Evolution and Versioning in Object-Oriented Databases
In this paper a semantic approach for the specification and the management of databases with evolving schemata is introduced. It is shown how a general object-oriented model for schema versioning and evolution can be formalized; how the semantics of schema change operations can be defined; how interesting reasoning tasks can be supported, based on an encoding in description logics.
متن کاملSecond International Workshop on Evolution and Change
In this paper, we propose a schema versioning mechanism to manage the schema evolution in temporal object-oriented databases. The schema evolution management uses an object-oriented data model that supports temporal features and versions definition the Temporal Versions Model TVM. One interesting feature of our proposal is that TVM is used to control not only the schema versioning, but also the...
متن کاملTemporal and versioning model for schema evolution in object-oriented databases
model space that consists of the semantic and the temporal dimensions. The evolution of data objects can quickly become intractable if it is not captured and Vocabulary evolution and versioning: ontologies, vocabularies, data level changes that in turn are more schema-specific and dependent on semantics. A formal model for temporal schema versioning in object-oriented databases. Data Knowl. Sch...
متن کاملTowards a Model forSpatio - Temporal Schema
Schema versioning provides a mechanism for handling change in the structure of database systems and has been investigated widely, both in the context of static and temporal databases. With the growing interest in spatial and spatio-temporal data as well as the mechanisms for holding such data, the spatial context within which data is formatted also becomes an issue. This paper presents a genera...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007